package com.jarvis.app.car.model;

public class Car {

    private Long id;

    private String img;

    private String code;

    private String name;

    private Long userId;

    public Car(Long id, String img, String code, String name) {
        this.id = id;
        this.img = img;
        this.code = code;
        this.name = name;
    }

    public Car(Long id, String img, String code, String name, Long userId) {
        this.id = id;
        this.img = img;
        this.code = code;
        this.name = name;
        this.userId = userId;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
